<%@ page language="java" contentType="text/html; charset=UTF-8"	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>详细</title>
</head>
<body>


	<div class="container-fluid">
		<div class="modal-header">
			<button type="button" class="close" data-ng-click="Model.cancel()" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
			<h5>{{Model.title}}</h5>
		</div>
		<div class="modal-body">

			<form class="form-horizontal" name="baseinfo_memberLevel_single_form">
			
				<div class="form-group form-group-sm has-warning">
					<label class="col-sm-2 control-label">会员等级</label>
					<div class="col-sm-10">
						<input type="text" class="form-control" 
							data-ng-model="dataMaster.rows[dataMaster.currentIndex].levelLabel.value" 
							name="levelLabel" required/>
					</div>
				</div>

				<div class="form-group">
					<label class="col-sm-2 control-label">等级描述</label>
					<div class="col-sm-10">
						<textarea rows="5" class="form-control" 
							data-ng-model="dataMaster.rows[dataMaster.currentIndex].comments.value">
						</textarea>
					</div>
				</div>
				<div class="row">
					<div class="col-sm-6">
						<div class="form-group form-group-sm">
							<label class="col-sm-4 control-label">折扣率</label>
							<div class="col-sm-8">
								<input type="number" class="form-control" 
									data-ng-model="dataMaster.rows[dataMaster.currentIndex].depositRate.value" 
									name="depositRate" required/>
							</div>
						</div>
					</div>
					<div class="col-sm-6">
						<div class="form-group form-group-sm">
							<label class="col-sm-4 control-label">启用</label>
							<div class="col-sm-8">
								<input type="checkbox" class="form-control"
									data-ng-model="dataMaster.rows[dataMaster.currentIndex].status.value"
									bootstrap-switch data-size="small" on-text="启用" off-text="停用" off-color="danger"
									data-ng-true-value="'open'" data-ng-false-value="'close'"/>
							</div>
						</div>
					</div>
				</div>
				
			</form>
				
			

		</div>
		<div class="modal-footer">
			<button class="btn btn-primary" 
			data-ng-disabled="(baseinfo_memberLevel_single_form.levelLabel.$dirty && baseinfo_memberLevel_single_form.levelLabel.$invalid || baseinfo_memberLevel_single_form.levelLabel.$error.required )
			|| (baseinfo_memberLevel_single_form.depositRate.$dirty && baseinfo_memberLevel_single_form.depositRate.$invalid || baseinfo_memberLevel_single_form.depositRate.$error.required )
			"
			data-ng-click="Model.ok()">确定</button>
			<button class="btn btn-warning" data-ng-click="Model.cancel()">取消</button>
		</div>

	</div>




</body>
</html>